﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Apercu.aspx.cs" Inherits="CPEBookWeb.Apercu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">

    <title>CPEBook - Voir le profil</title>

    <% Response.WriteFile("templates/head.tpl"); %>

</head>
<body>

<form id="form" runat="server">

    <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>

    <asp:UpdateProgress ID="UpdateProgressActualites" runat="server">
        <ProgressTemplate>
            <% Response.WriteFile("templates/progress.tpl"); %>
        </ProgressTemplate>
    </asp:UpdateProgress>

    <% Response.WriteFile("templates/header.tpl"); %>

    <div id="recherche">
	    <div id="rechercheinput">
            <asp:TextBox ID="rechercheInput" runat="server" CssClass="input"></asp:TextBox>
	    </div>
		<div id="recherchebouton">
            <asp:Button ID="rechercheBouton" runat="server" CssClass="bouton" 
                Text="Rechercher" onclick="rechercheBouton_Click" 
                ValidationGroup="rechercheValGroupe" />
        </div>
        <div id="recherchevalidator">
		    <asp:RegularExpressionValidator ID="rechercheValidator" runat="server" 
                ControlToValidate="rechercheInput" CssClass="validateur" 
                ErrorMessage="" ValidationExpression="[ ]*[\wàâéèêëiîïoôö]+[\wàâéèêëiîïoôö ]*" 
                ValidationGroup="rechercheValGroupe"></asp:RegularExpressionValidator>
		</div>
	</div>

    <div class="menu"> 
	    <a href="Logout.aspx" class="lien">Déconnexion</a> 
	</div>
    <div class="menu"> 
	    <asp:HyperLink ID="lienBarreProfil" runat="server" CssClass="lien">Profil</asp:HyperLink>
	</div>
    <div class="menu"> 
	    <a href="Mur.aspx" class="lien">Accueil</a> 
	</div>

    <% Response.WriteFile("templates/menu.tpl"); %>

    <div id="cartevisite">

	    <asp:HyperLink ID="lienConsulterProfil" runat="server" CssClass="identite">[Prénom Nom]</asp:HyperLink>
        <br /><asp:HyperLink ID="lienModifierProfil" runat="server" CssClass="modifier">Modifier mon profil</asp:HyperLink>

	</div>

    <asp:UpdatePanel ID="UpdatePanelDemandes" runat="server">
        <ContentTemplate>
            <asp:Panel ID="panelDemandes" runat="server" CssClass="demandes"></asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>

    <% Response.WriteFile("templates/middle.tpl"); %>

    <h1><asp:Label ID="h1PrenomNom" runat="server"></asp:Label></h1>

    <h2 class="profilinfos">Informations de profil</h2>

    <div id="profilinfos">
        A suivi la fillière <asp:Label ID="infoFilliere" runat="server" CssClass="profilinfo"></asp:Label> promotion <asp:Label ID="infoPromotion" runat="server" CssClass="profilinfo"></asp:Label>
        <br />De sexe <asp:Label ID="infoSexe" runat="server" CssClass="profilinfo"></asp:Label>
    </div>

    <h2 class="profilinfos">Vous n'êtes pas encore amis</h2>

    <asp:Button ID="btnAction" runat="server" Text="[Action]" onclick="btnAction_Click" />

<% Response.WriteFile("templates/footer.tpl"); %>

</form>

</body>
</html>
